﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace ARchGL.Platform.Core
{
    /// <summary>
    /// 报表数据仓库 数据实体
    /// </summary>
    [Table("JN_" + nameof(ReportWarehouses))]
    public class ReportWarehouses : Entity<Guid>, IMustHaveTenant, IHasCreationTime
    {
        /// <summary>
        /// 数据时间，格式为：yyyy-MM
        /// </summary>
        public string DateTime { get; set; }
        /// <summary>
        /// 年份
        /// </summary>
        public int Year { get; set; }
        /// <summary>
        /// 数据类型：1巡检、2自检
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public string Values { get; set; }
        /// <summary>
        /// 主机/租户
        /// </summary>
        public int TenantId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
    }
}
